/*
 * @Descripttion: 出手鸭小程序
 * @version:1.0.1 
 * @Author: HHL
 * @Date: 2023-10-13 14:25:41
 * @LastEditTime: 2023-11-20 09:21:41
 * @LastEditors: sueRimn
 */

import {
  BASEHOST,
} from '../../config'
import Request from '../http'

// 获取枚举
export const getOrderEnum = enumName => Request.get(`${BASEHOST}/api/common/enums/getEnum`, { enumName })

// 根据坐标 或 Ip 获取当前城市
export const getGeoLocation = data => Request.get(`${BASEHOST}/api/geocoder/geoLocation`, data)

// 获取当前IP位置
export const getIpLocation = () => Request.get(`${BASEHOST}/api/geocoder/ipLocation`, {})

